/*标题*/
.ios-title{
    position:fixed;
    background: #fff;
    width:100%;
    z-index: 1;
    font-size: 18px;
    color: #007bff;
    /*font-weight: bold;*/
    line-height: 250%;
    border-bottom: 1px solid #e1e1e1;
    max-width: 640px;
}
.ios-title>*{
    float: left;
}
.ios-title>.option{
    width:20%;
    text-align: center;
}
.ios-title>.return{
    padding-left:5%;
    width:15%;
}
.ios-title>.return-icon:after{
    content:"";
    position: absolute;
    width:10px;
    height:10px;
    border: 2px solid #007bff;
    border-width: 2px 0 0 2px;
    left:10px;
    top:16px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);

    /*width: 10px;
    height: 17px;
    position: absolute;
    left:5px;
    top:14px;
    background-image: url("../images/arrow_btn_icon.png");
    background-position: -61px -1px;*/
}
.ios-title>.text{
    font-weight: bold;
    color:#000;
    width:60%;
    text-align: center;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*.ios-title>.option{
    float:right;
}*/
.ios-main{
    padding-top:50px;
}

/*checkbox*/
.ios-checkbox{
    width: 50px;
    height: 30px;
    /*-webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;*/
    position:relative;
    overflow: hidden;
    margin:0;
    padding:0;
    border:none;
    color:#fff;
    background:none;
    border-radius: 30px;
    vertical-align: middle;
}
.ios-checkbox:before,.ios-checkbox:after{
    position: absolute;
    content:'';
    top:0;
    left:0;
}

.ios-checkbox:before{
    transition: all 0.4s;
    position:absolute;
    border:2px solid #e0e0e0;
    background-color:#fff;
    top:0;
    right:0;
    bottom:0;
    left:0;
    border-radius: 30px;
}

.ios-checkbox:after {

    top:2px;
    left:2px;
    transition: all 0.2s;
    content: "";
    border-radius: 26px;
    width: 26px;
    height: 26px;
    /*border: 1px solid #fff;*/
    display: inline-block;
    vertical-align: middle;
    -webkit-box-shadow: 0 0px 2px 1px #ccc;
       -moz-box-shadow: 0 0px 2px 1px #ccc;
            box-shadow: 0 0px 2px 1px #ccc;
    background-color:#fff;

    -webkit-animation: iosCheckbox_after 0.4s;
    -webkit-animation-fill-mode:both;
    -moz-animation: iosCheckbox_after 0.4s;
    -moz-animation-fill-mode:both;
}


.ios-checkbox:active:checked:after{
    width:30px;
    margin-left:-4px;
}


.ios-checkbox:active:after{
    width: 30px;
}

.ios-checkbox:checked:before{
    background-color: #4bd865;
    border-color: #4bd865;
    border-style:solid;
    border-width:15px 15px 15px 49px;
}



.ios-checkbox:checked:after{
    -webkit-animation: iosCheckbox_after_checked 0.4s;
    -webkit-animation-fill-mode:both;
    -moz-animation: iosCheckbox_after_checked 0.4s;
    -moz-animation-fill-mode:both;
}

@-webkit-keyframes iosCheckbox_after {
    0% {left:22px;}
    70% {left:0px;}
    100% {left:2px;}
}
@-moz-keyframes iosCheckbox_after {
    0% {left:22px;}
    70% {left:0px;}
    100% {left:2px;}
}

@-webkit-keyframes iosCheckbox_after_checked {
    0% {left:4px;}
    70% {left:23px;}
    100% {left:22px;}
}
@-moz-keyframes iosCheckbox_after_checked {
    0% {left:4px;}
    70% {left:23px;}
    100% {left:22px;}
}

.ios-checkbox:disabled:before{
    background-color: #ccc;
    border-color: #ccc;
    border-style:solid;
    border-width:15px 15px 15px 49px;
}




/*list*/
.ios-list{
    background-color: #fff;
    /*border-top:1px solid #e4e4e4;*/
    border-bottom:1px solid #e4e4e4;
    line-height: 150%;
    margin:15px 0;
}
.ios-list>.title{
    border-bottom:1px solid #e4e4e4;
    background: #efefef;
    padding-left:10px;
    color:#888;
}
.ios-list>.item,.ios-list>.icon-item{
    border-bottom:1px solid #e4e4e4;
    padding:10px 10px 10px 5px;
    margin-left:10px;
    position: relative;
    line-height: 200%;
}

.ios-list>.icon-item{
    margin-left:50px;
}
.ios-list>.icon-item:before{
    content: '';
    background-image:url("../images/icon-apple.png");
    -webkit-background-origin:border-box; /* Safari */
    /*background-origin:border-box;*/
    background-size: 30px;
    background-repeat: no-repeat;
    width:30px;
    height:30px;
    position: absolute;
    left:-35px;
    top:10px;
}
.ios-list>.icon-item.rightArrow:after{
    content: '';
    float: right;

    width:7px;
    height:7px;
    border: 2px solid #888;
    border-width: 2px 0 0 2px;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    margin-top: 10px;
    margin-right:5px;

    /*background-image: url("../images/arrow_btn_icon.png");
    background-position: -1px -1px;
    float: right;
    color: #888;

    width: 10px;
    height:17px;
    margin-top: 5px;
    margin-right:5px;*/
}

.ios-list>.icon-item:last-child,.ios-list>.item:last-child{
    border-bottom:0;
}

.ios-list .ios-checkbox{
    float: right;
}

.ios-list .subItem{
    position: absolute;
    right:40px;
    top:10px;
    color:#888;
}

/*ios-tab*/
.ios-tab{
    overflow: hidden;

    border:1px solid #007bff;
    border-right:0;
    line-height: 200%;
    border-radius: 5px;
    margin:0 10px;
    margin-bottom: 10px;

    display:flex;
    flex-wrap: wrap;
}
.ios-tab>.item{
    text-align: center;
    color: #007bff;
    width:0;
    display:inline-block;
    flex-grow: 1;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    border-right:1px solid #007bff;

}

.ios-tab>.selected{
    background-color: #007bff;
    color: #fff;
}

























